package com.linx.open.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.linx.common.excel.annotation.ExcelDictFormat;
import com.linx.common.excel.convert.ExcelDictConvert;
import com.linx.open.domain.YsyjLog;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;



/**
 * 第三方日志视图对象 ysyj_log
 *
 * @author linx
 * @date 2024-10-28
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = YsyjLog.class)
public class YsyjLogVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long ysyjLogId;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 是否返回成功（0代表存在 1代表删除）
     */
    @ExcelProperty(value = "是否返回成功", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "0=代表存在,1=代表删除")
    private String isSuccess;

    /**
     * 请求内容
     */
    @ExcelProperty(value = "请求内容")
    private String contentinfo;

    /**
     * 1.用户，2企业，topic-xxx等自定义
     */
    @ExcelProperty(value = "1.用户，2企业，topic-xxx等自定义")
    private String ysyjType;


}
